/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.gebze;

import java.io.IOException;

/**
 *
 * @author Özcan ÇAĞIRICI <ozcanca@gebze.bel.tr>
 */
public abstract class GbzBase {

    private int portNumber;
    private int maxClientSize;

    abstract boolean start() throws IOException;

    /**
     * @return the portNumber
     */
    public int getPortNumber() {
        return portNumber;
    }

    /**
     * @return the maxClientSize
     */
    public int getMaxClientSize() {
        return maxClientSize;
    }

    /**
     * @param portNumber the portNumber to set
     */
    public void setPortNumber(int portNumber) {
        this.portNumber = portNumber;
    }

    /**
     * @param maxClientSize the maxClientSize to set
     */
    public void setMaxClientSize(int maxClientSize) {
        this.maxClientSize = maxClientSize;
    }
}
